package com.son.hotel.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.son.hotel.domain.RoomType;
import com.son.hotel.domain.Rooms;
import com.son.hotel.response.RoomDetailInfoResp;
import com.son.hotel.vo.SearchInfo;

import java.util.List;

/**
* @author 孙一卓
* @description 针对表【room_type】的数据库操作Service
* @createDate 2025-06-24 15:03:59
*/
public interface RoomTypeService extends IService<RoomType> {

    List<RoomDetailInfoResp> listAllRoomInfo(List<Rooms> roomList,List<RoomType> roomTypeList);

    void updateRoomTypeInfoDec(int typeId);

    void updateRoomTypeInfoInc(int typeId);

    List<RoomDetailInfoResp> searchRoom(SearchInfo searchInfo);

    int roomNameStringToInt(String name);
}
